<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>



<div class=" timo-compile">
    <form th:action="@{/SpringBoot/teamApply/save}">
        <input type="hidden" name="id" th:if="${teamApply}" th:value="${teamApply.id}">
        <div class="layui-form-item" hidden="hidden">
            <label class="layui-form-label">学生学号</label>
            <div class="layui-input-inline">
                <input style="width: 237px;height: 38px;"  type="text" name="stu_id" placeholder="请输入学生学号" th:value="${username}">
            </div>
        </div>


        <div class="layui-form-item" style="display: none">
            <label class="layui-form-label">申请团队</label>
            <div class="layui-input-inline">
                <!--<select name="team_id" style="width: 240px;height: 38px;">
                    <div   th:each="lis1:${aaa}">
                        <option th:value="${lis1.getId()}" th:label="${lis1.getTeam_name()}" ></option>
                    </div>
                </select>-->
                <input name="team_id" type="text" th:value="${teamId}">
                <!--<input class="layui-input" type="text" name="team_id" placeholder="请输入申请团队" th:value="${teamApply?.team_id}">-->
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">申请说明</label>
            <div class="layui-input-inline">
                <textarea placeholder="请输入内容" class="layui-textarea" type="text" name="text" th:value="${teamApply?.text}"></textarea>

            </div>
        </div>

        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>